import {get,post} from '@/utils/request'

export function  getList(params) {
  return get("/ht/payOrderList.json",params);
}
export function  paySuccess(params) {
  return post("/ht/paySuccess.json",params);
}
export function  orderAmount(id,amount) {
  return post("/ht/modifyOrderAmount.json",{orderId:id,amount:amount});
}
export function  invoiceAdd(params) {
  return post("/ht/invoiceAdd.json",params);
}
export function  invoiceList(params) {
  return get("/ht/invoiceList.json",params);
}
//�շѽӿ�
export function  chargeList(params) {
  return get("/ht/chargesList.json",params);
}
export function  chargeAdd(params) {
  return post("/ht/chargesAdd.json",params);
}
export function  chargeDelete(id) {
  return post("/ht/chargesDel.json",{id:id});
}
